<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://displaytag.sf.net" prefix="display" %>
<tiles:insertTemplate template="menu.jsp">
	<tiles:putAttribute name="body">
		<center>
		<tiles:insertTemplate template="messages-menu.jsp"/>
		<div class="container" style="background-color: black">
			<div class="blockOuter">
			<center>
				<div class="blockInner" style="background-color: black">
					<strong>Wiadomość od:</strong> <s:property value="message.senderName"/><br/>
					<strong>Wiadomość do:</strong> <s:property value="message.reciverName"/><br/>
					<strong>Temat:</strong> <s:property value="message.subject"/><br/>
					<strong>Treść:</strong> <s:property value="message.message"/>
				</div>
			</center>
			</div>
			<div class="blockOuter">
			<center>
				<div class="blockInner" style="background-color: black">
					<a href="<s:url action='composeMessagePage.action'/>?messageId=<s:property value="message.id"/>&replyTo=<s:property value="message.senderName"/>">Odpowiedz</a> | <a href="<s:url action='deleteMessage.action'/>?messageId=<s:property value="message.id"/>">Usuń wiadomość</a> 
				</div>
			</center>
			</div>
		</div>
		</center>
	</tiles:putAttribute>
</tiles:insertTemplate>